package org.tc.shopmall.service;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.tc.shopmall.entity.ShoppingTest;

import java.util.HashMap;
import java.util.List;

@RequestMapping("/ShoppingService")
public interface ShoppingService {

    @RequestMapping("/QueryAllOrder")
    HashMap<String, ShoppingTest> QueryAllOrder(@RequestParam("userid") Integer userid);

    @RequestMapping("/QueryOrdertoState")
    HashMap<String, ShoppingTest> QueryOrdertoState(@RequestParam("userid") Integer userid,
                                                @RequestParam("stsate") Integer state);
}
